import time

times = 0


def fib(n):
    global times
    times = times + 1
    if n == 1 or n == 2:
        return 1
    #print(times)
    return fib(n - 1) + fib(n - 2)


start = time.time()
print(fib(30))
print(times)
end = time.time()
print(end - start)
